setTrimOffset

abstract fun setTrimOffset(block: DesignBlock, offset: Double)

Set the trim offset of the given block or fill. Sets the time in seconds within the fill at which playback of the audio or video clip should begin. Note: This requires the video or audio clip to be loaded.

Parameters

block

the block whose trim should be updated.

offset

the new trim offset, in timeline seconds. At speed 2, an offset of 1 skips 2 seconds of the source.